feat(claude): add Claude Fable 5.1 model - #247
Conversation
Adds `claude-fable-5-1` to the Claude model catalog with the effort and context-window option descriptors, gated behind Claude Code v2.1.257 so older CLIs do not advertise a model they cannot run. The version-upgrade message chain now leads with Fable 5.1, `xhigh` effort is preserved for the model rather than being widened to `max`, and `fable` / `fable-5.1` / `claude-fable-5.1` resolve to the canonical slug. In the bundled model manifest `claude-fable-5-1` replaces `claude-fable-5` in the current Claude set, so Fable 5 is now reported as legacy. Adopted from T3 Code upstream PR #9078, commit c17d02cff98f2e7b590d4c3a5775d1faa47c2e7b. (cherry picked from commit c17d02cff98f2e7b590d4c3a5775d1faa47c2e7b)
b2684a8 to
fe0fe86
Compare
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
|
Superseded by #246, which landed this same upstream commit ( Fable 5.1 is live on Not merging this: the branch predates 396 files of subsequent work, so merging it would revert roughly 51,000 lines. The three by-name tests it added are intentionally not being re-added. Both |
Pylon's Claude catalog stops at Fable 5, so Claude Fable 5.1 cannot be selected
even on a Claude Code new enough to run it. Upstream added the model in
pingdotgg/t3code#9078; this
adopts that change and nothing else.
claude-fable-5-1joins the Claude model catalog with the effort andcontext-window descriptors, gated behind Claude Code v2.1.257 so older CLIs
hide the model rather than failing at spawn time. The version-upgrade message
chain now leads with Fable 5.1,
xhigheffort is preserved for the modelinstead of being widened to
max, andfable/fable-5.1/claude-fable-5.1resolve to the canonical slug.Scope
Cherry-picked with
-xfromc17d02cff, clean, no conflicts, appliedline-for-line. It is self-contained and does not depend on
#9084 (remote Claude model
manifest discovery), the much larger
ClaudeProvider.tsrestructure thatfollows it upstream. That work is deliberately out of scope here.
This is a scoped adoption, not a batch review: 128 other upstream commits in
9b2d0431..57a66608remain unreviewed, so.agents/upstream-review.mdrecordsthe decision without advancing
reviewed-through.Worth a reviewer's attention
The bundled manifest swap puts
claude-fable-5-1into the current Claude set inplace of
claude-fable-5, so Fable 5 now reports as legacy. That isupstream's intent — 5.1 supersedes 5 in the same tier at the same per-token
price — but it is a visible status change to an existing model.
Verification
vp test runover the four touched test files: 4 files, 170 tests, allpassed, none skipped.
vp run -F t3 -F @t3tools/contracts -F @t3tools/shared typecheck: exit 0,3/3 packages checked, no errors and no new diagnostics in the touched files.
keys on the bare
fablefamily, so it prices 5.1 with no change.Written by Claude Opus 5 in Claude Code.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.